package com.itheima.demo1;

import java.util.ArrayList;
import java.util.Collections;

public class CollectionsDemo1 {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();

        //批量添加
        Collections.addAll(list,"abb","add","acc");

        Collections.shuffle(list);


        System.out.println(list);




    }
}
